﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master"
	CodeBehind="Links.aspx.cs" Inherits="IEWebSite.Pages.Linkuri.Links" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<h1>
		Links
	</h1>
	<div style="width: 100%;">
		<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="SqlDataSource1"
			ItemPlaceholderID="ListViewContainer" Width="100%">
			<LayoutTemplate>
				<asp:PlaceHolder runat="server" ID="ListViewContainer" />
			</LayoutTemplate>
			<ItemTemplate>
				<fieldset style="float: left;">
					<legend style="font-weight: bold;">
						<%#Eval("Title")%></legend>
					<div class="details">
						<table style="text-align: left; width: 100%; padding: 10px;">
							<tr>
								<td align="left" valign="top">
									<label>
										Descriere:</label>
								</td>
								<td align="justify" valign="top">
									<%#Eval("Descriere")%>
								</td>
							</tr>
							<tr>
								<td align="Left" valign="top">
									<label>
										Link:</label>
								</td>
								<td align="justify" valign="top">
									<a href="<%#Eval("Link")%>" title="<%#Eval("Title")%>">
										<%#Eval("Link")%></a>
								</td>
							</tr>
						</table>
					</div>
				</fieldset>
			</ItemTemplate>
		</telerik:RadListView>
	</div>
	<div style="clear: both;" />
	<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SiteIEConnectionString %>"
		SelectCommand="SELECT [Title],[Descriere],[Link] FROM LinkTB"></asp:SqlDataSource>
</asp:Content>
